<?php 


$getstr=file_get_contents('a.html');



if(preg_match('/<div.*?class=\"app-img-holder\">[\s\S]*?<img.*?src="(.*?)"[\s\S]*?<h3>(.*?)<\/h3>[\s\S]*?<li>.*?:(.*?)<\/li>[\s\S]*?<li>.*?:(.*?)<\/li>[\s\S]*?<li>.*?:(.*?)<\/li>[\s\S]*?<li>/', $getstr,$match_arr)){
print_r($match_arr);
$icon="http://appdbs.com".trim($match_arr[1]);
$name=trim($match_arr[2]);
$latest_version= trim($match_arr[3]);
$seller=trim($match_arr[4]);
$category=trim($match_arr[5]);


}

?>